<template>
  <div class="content_detail" v-cloak>
    <div
      class="function_module"
      v-for="item in data[kind].content"
      :key="item.id"
    >
      <div class="function_img">
        <img :src="item.imgUrl" />
      </div>
      <p class="function_title">{{ item.name }}</p>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    kind: {
      typeof: Number,
      default: 0,
    },
    data:{
      typeof:Object,
      default:[]
    }
  },
}
</script>

<style lang="less" scoped>
[v-cloak] {
  display: none;
}
.content_detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 322px;
    margin-top: 84px;
    background-color: #f1f8ff;
    .function_module {
      display: flex;
      align-items: center;
      width: 490px;
      height: 360px;
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0px 0px 41.71px 0px #e5e5e5;
      margin-right: 42px;
      margin-bottom: 48px;
      .function_img {
        width: 144px;
        height: 144px;
        background-color: rgba(0, 122, 253, 0.2);
        border-radius: 50%;
        padding-top: 21px;
        padding-left: 21px;
        margin-right: 48px;
        margin-left: 63px;
        img {
          width: 102px;
          height: 102px;
        }
      }
      .function_title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 216px;
        height: 79px;
        font-size: 36px;
        font-family: Microsoft YaHei, Microsoft YaHei-Bold;
        font-weight: 700;
        color: #17498c;
        line-height: 40px;
      }
    }
  }
  .content_detail :nth-child(4) p {
    width: 144px !important;
    font-size: 36px;
  }
</style>
